package com.pinapel.aixml.controller.Editor;

import com.pinapel.aixml.controller.IEditorsController;
import com.pinapel.aixml.models.EnumModelType;

public class XMLTextController extends AbstractTextEditorController {

	public XMLTextController(IEditorsController top) {
		super(top);
		mType = EnumModelType.XML;
	}

	@Override
	public String getTextFromModel() {
		return this.getModel().get(mType).getText();
	}
}
